package com.darren.archive.service;

import com.darren.archive.entity.SysRole;
import com.darren.framework.service.GenericService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;


/**
 * <pre>
 * *********************************************
 * Copyright DARREN
 * All rights reserved.
 * Description: TODO(description)
 * HISTORY:
 * *********************************************
 *  Version		Date		Author	   		Desc
 *   v1.0       2018-04-11  Darren Zhou    Create
 *
 * *********************************************
 * </pre>
 */
public interface SysRoleService extends GenericService<SysRole, Long> {


    Page<SysRole> findByNameLike(String name, Pageable pageable);

    Page<SysRole> findAll(Pageable pageable);

    SysRole saveEnable(SysRole record);

}
